import * as actionType from './constants.js';
export const setIndex = (data) => {
    return {
        type: actionType.SET_INDEX,
        data: data
    }
}